package com.lakeworks.event;

import org.springframework.context.ApplicationEvent;

/**
 * 工单暂停事件
 */
public class TicketHoldingEvent extends ApplicationEvent {

    private String orderNo;

    private boolean code;


    public TicketHoldingEvent(Object source, String orderNo) {
        super(source);
        this.orderNo = orderNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public boolean isCode() {
        return code;
    }

    public void setCode(boolean code) {
        this.code = code;
    }
}
